# Update 'Building'

Endpoint: PATCH /objects/structural/building/{pk}/
Version: 2.0.0
Security: customer_id, application_id, service_id, service_version_id, client_ct, client_object_id, client_secret

## Path parameters:

  - `pk` (string, required)

## Request fields (application/json):

  - `organization` (object)

  - `organization.id` (string)

  - `custom_id` (string)

  - `name` (string, required)

  - `realestate` (object, required)

  - `realestate.id` (string)

  - `address` (object)
    Content Type: `common.address`

  - `address.id` (string)
    **Additional Validation Information:**
Must be unique

  - `registered_usable_area` (number)
    **Additional Validation Information:**
This value must be set with a proper magnitude, in relation to the following fields: `registered_gross_area`

  - `registered_building_area` (number)

  - `registered_gross_area` (number)
    **Additional Validation Information:**
This value must be set with a proper magnitude, in relation to the following fields: `registered_bi_area`, `registered_usable_area`

  - `registered_bi_area` (number)
    **Additional Validation Information:**
This value must be set with a proper magnitude, in relation to the following fields: `registered_gross_area`

  - `built_date` (string)
    **Additional Validation Information:**
This value must be set in an proper order, in relation to the following fields: `availability_end_date`, `availability_start_date`, `demolition_date`

  - `availability_start_date` (string)
    **Additional Validation Information:**
This value must be set in an proper order, in relation to the following fields: `availability_end_date`, `demolition_date`, `built_date`

  - `availability_end_date` (string)
    **Additional Validation Information:**
This value must be set in an proper order, in relation to the following fields: `demolition_date`, `availability_start_date`, `built_date`

  - `demolition_date` (string)
    **Additional Validation Information:**
This value must be set in an proper order, in relation to the following fields: `availability_end_date`, `availability_start_date`, `built_date`

  - `public_description` (string)

  - `sales_description` (string)

  - `custom_dimension_value` (string)

  - `structure_operation_type` (integer)
    **Additional Validation Information:**
Enum Descriptions:
* `1` - Electricity Heat Station
* `2` - Electricity Water Station
* `3` - Electricity Wind Low Taxation
* `5` - Rentable Housing
* `7` - Rentable Industrial Premises
* `6` - Rentable Housing Outdoor Area
* `8` - Rentable Industrial Premises Outdoor Area
* `10` - Industry Office
* `11` - Industry Storage
* `12` - Industry Production
* `13` - Industry Construction
* `14` - Industry Production Method Structure
* `15` - Beat Office
* `16` - Beat Storage
* `17` - Beat Production
* `18` - Beat Construction
* `25` - Agriculture Small Housing
* `27` - Special Unit
* `28` - Other
    Enum: 1, 2, 3, 5, 7, 6, 8, 10, 11, 12, 13, 14, 15, 16, 17, 18, 25, 27, 28

  - `structure_type` (string)
    **Additional Validation Information:**
Enum Descriptions:
* `AAA` - Aaa
* `AAB` - Aab
* `AAC` - Aac
* `ABA` - Aba
* `ABB` - Abb
* `ABC` - Abc
* `ACB` - Acb
* `ADA` - Ada
* `ADB` - Adb
* `AEA` - Aea
* `AEB` - Aeb
* `AEC` - Aec
* `AED` - Aed
* `AFA` - Afa
* `AGA` - Aga
* `AGB` - Agb
* `AGD` - Agd
* `AHA` - Aha
* `AHB` - Ahb
* `AJA` - Aja
* `AJB` - Ajb
* `AJC` - Ajc
* `AJF` - Ajf
* `AKA` - Aka
* `AKE` - Ake
* `ALA` - Ala
* `ALC` - Alc
* `ALD` - Ald
* `ALF` - Alf
* `ALG` - Alg
* `AMA` - Ama
* `AMB` - Amb
* `AMC` - Amc
* `AMG` - Amg
* `ANA` - Ana
* `ANC` - Anc
* `AND` - And
* `APA` - Apa
* `APC` - Apc
* `APE` - Ape
* `BAA` - Baa
* `BAB` - Bab
* `BAC` - Bac
* `BAD` - Bad
* `BAE` - Bae
* `BAK` - Bak
* `BBB` - Bbb
* `BBC` - Bbc
* `BBH` - Bbh
* `BEA` - Bea
* `BEF` - Bef
* `BFA` - Bfa
* `BFB` - Bfb
* `BFD` - Bfd
* `BFE` - Bfe
* `BFF` - Bff
* `BFG` - Bfg
* `CBD` - Cbd
* `CBE` - Cbe
* `CBF` - Cbf
* `CBG` - Cbg
* `CBH` - Cbh
* `CBJ` - Cbj
* `XBA` - Xba
* `PX_OTHER` - Px Other
* `PX_HOSPITAL` - Px Hospital
* `PX_CINEMA` - Px Cinema
* `PX_KINDERGARDEN` - Px Kindergarden
* `PX_LIBRARY` - Px Library
* `PX_WORKSHOP` - Px Workshop
* `PX_INDUSTRIAL_PREMISES` - Px Industrial Premises
    Enum: "AAA", "AAB", "AAC", "ABA", "ABB", "ABC", "ACB", "ADA", "ADB", "AEA", "AEB", "AEC", "AED", "AFA", "AGA", "AGB", "AGD", "AHA", "AHB", "AJA", "AJB", "AJC", "AJF", "AKA", "AKE", "ALA", "ALC", "ALD", "ALF", "ALG", "AMA", "AMB", "AMC", "AMG", "ANA", "ANC", "AND", "APA", "APC", "APE", "BAA", "BAB", "BAC", "BAD", "BAE", "BAK", "BBB", "BBC", "BBH", "BEA", "BEF", "BFA", "BFB", "BFD", "BFE", "BFF", "BFG", "CBD", "CBE", "CBF", "CBG", "CBH", "CBJ", "XBA", "PX_OTHER", "PX_HOSPITAL", "PX_CINEMA", "PX_KINDERGARDEN", "PX_LIBRARY", "PX_WORKSHOP", "PX_INDUSTRIAL_PREMISES"

  - `registered_tempered_area` (number)

## Response 200 fields (application/json):

  - `organization` (object)

  - `organization.id` (string)

  - `id` (string, required)
    **Additional Validation Information:**
Must be unique

  - `custom_id` (string)

  - `created_at` (string)

  - `name` (string, required)

  - `realestate` (object, required)

  - `realestate.id` (string)

  - `address` (object)
    Content Type: `common.address`

  - `address.id` (string)
    **Additional Validation Information:**
Must be unique

  - `address.organization` (object)

  - `address.organization.id` (string)

  - `address.custom_id` (string)

  - `address.created_at` (string)

  - `address.care_of` (string)

  - `address.attention` (string)

  - `address.street` (string)

  - `address.street_number` (string)

  - `address.postal_code` (string)

  - `address.city` (string)

  - `address.country` (string)

  - `address.longitude` (number)

  - `address.latitude` (number)

  - `registered_usable_area` (number)
    **Additional Validation Information:**
This value must be set with a proper magnitude, in relation to the following fields: `registered_gross_area`

  - `registered_building_area` (number)

  - `registered_gross_area` (number)
    **Additional Validation Information:**
This value must be set with a proper magnitude, in relation to the following fields: `registered_bi_area`, `registered_usable_area`

  - `registered_bi_area` (number)
    **Additional Validation Information:**
This value must be set with a proper magnitude, in relation to the following fields: `registered_gross_area`

  - `calculated_usable_area` (number)

  - `calculated_bi_area` (number)

  - `calculated_usable_area_rentable` (number)

  - `calculated_bi_area_rentable` (number)

  - `calculated_usable_area_rentable_base_rent_vat` (number)

  - `calculated_bi_area_rentable_base_rent_vat` (number)

  - `built_date` (string)
    **Additional Validation Information:**
This value must be set in an proper order, in relation to the following fields: `availability_end_date`, `availability_start_date`, `demolition_date`

  - `availability_start_date` (string)
    **Additional Validation Information:**
This value must be set in an proper order, in relation to the following fields: `availability_end_date`, `demolition_date`, `built_date`

  - `availability_end_date` (string)
    **Additional Validation Information:**
This value must be set in an proper order, in relation to the following fields: `demolition_date`, `availability_start_date`, `built_date`

  - `demolition_date` (string)
    **Additional Validation Information:**
This value must be set in an proper order, in relation to the following fields: `availability_end_date`, `availability_start_date`, `built_date`

  - `public_description` (string)

  - `sales_description` (string)

  - `custom_dimension_value` (string)

  - `structure_operation_type` (integer)
    **Additional Validation Information:**
Enum Descriptions:
* `1` - Electricity Heat Station
* `2` - Electricity Water Station
* `3` - Electricity Wind Low Taxation
* `5` - Rentable Housing
* `7` - Rentable Industrial Premises
* `6` - Rentable Housing Outdoor Area
* `8` - Rentable Industrial Premises Outdoor Area
* `10` - Industry Office
* `11` - Industry Storage
* `12` - Industry Production
* `13` - Industry Construction
* `14` - Industry Production Method Structure
* `15` - Beat Office
* `16` - Beat Storage
* `17` - Beat Production
* `18` - Beat Construction
* `25` - Agriculture Small Housing
* `27` - Special Unit
* `28` - Other
    Enum: 1, 2, 3, 5, 7, 6, 8, 10, 11, 12, 13, 14, 15, 16, 17, 18, 25, 27, 28

  - `structure_type` (string)
    **Additional Validation Information:**
Enum Descriptions:
* `AAA` - Aaa
* `AAB` - Aab
* `AAC` - Aac
* `ABA` - Aba
* `ABB` - Abb
* `ABC` - Abc
* `ACB` - Acb
* `ADA` - Ada
* `ADB` - Adb
* `AEA` - Aea
* `AEB` - Aeb
* `AEC` - Aec
* `AED` - Aed
* `AFA` - Afa
* `AGA` - Aga
* `AGB` - Agb
* `AGD` - Agd
* `AHA` - Aha
* `AHB` - Ahb
* `AJA` - Aja
* `AJB` - Ajb
* `AJC` - Ajc
* `AJF` - Ajf
* `AKA` - Aka
* `AKE` - Ake
* `ALA` - Ala
* `ALC` - Alc
* `ALD` - Ald
* `ALF` - Alf
* `ALG` - Alg
* `AMA` - Ama
* `AMB` - Amb
* `AMC` - Amc
* `AMG` - Amg
* `ANA` - Ana
* `ANC` - Anc
* `AND` - And
* `APA` - Apa
* `APC` - Apc
* `APE` - Ape
* `BAA` - Baa
* `BAB` - Bab
* `BAC` - Bac
* `BAD` - Bad
* `BAE` - Bae
* `BAK` - Bak
* `BBB` - Bbb
* `BBC` - Bbc
* `BBH` - Bbh
* `BEA` - Bea
* `BEF` - Bef
* `BFA` - Bfa
* `BFB` - Bfb
* `BFD` - Bfd
* `BFE` - Bfe
* `BFF` - Bff
* `BFG` - Bfg
* `CBD` - Cbd
* `CBE` - Cbe
* `CBF` - Cbf
* `CBG` - Cbg
* `CBH` - Cbh
* `CBJ` - Cbj
* `XBA` - Xba
* `PX_OTHER` - Px Other
* `PX_HOSPITAL` - Px Hospital
* `PX_CINEMA` - Px Cinema
* `PX_KINDERGARDEN` - Px Kindergarden
* `PX_LIBRARY` - Px Library
* `PX_WORKSHOP` - Px Workshop
* `PX_INDUSTRIAL_PREMISES` - Px Industrial Premises
    Enum: "AAA", "AAB", "AAC", "ABA", "ABB", "ABC", "ACB", "ADA", "ADB", "AEA", "AEB", "AEC", "AED", "AFA", "AGA", "AGB", "AGD", "AHA", "AHB", "AJA", "AJB", "AJC", "AJF", "AKA", "AKE", "ALA", "ALC", "ALD", "ALF", "ALG", "AMA", "AMB", "AMC", "AMG", "ANA", "ANC", "AND", "APA", "APC", "APE", "BAA", "BAB", "BAC", "BAD", "BAE", "BAK", "BBB", "BBC", "BBH", "BEA", "BEF", "BFA", "BFB", "BFD", "BFE", "BFF", "BFG", "CBD", "CBE", "CBF", "CBG", "CBH", "CBJ", "XBA", "PX_OTHER", "PX_HOSPITAL", "PX_CINEMA", "PX_KINDERGARDEN", "PX_LIBRARY", "PX_WORKSHOP", "PX_INDUSTRIAL_PREMISES"

  - `registered_tempered_area` (number)

  - `calculated_tempered_area` (number)

  - `tags` (any)

  - `customer_columns` (any)

  - `pending_monitor_approval_amount` (any)

